package com.example.springcloud.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author hx
 * @date 2025/2/21 11:05
 */

@Data
@ApiModel(value = "publishRequest", description = "用户发表种草文章请求体")
public class PublishRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id")
    private Long productId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "种类 1美食 2休娱")
    private Integer categoryType;

    @ApiModelProperty(value = "图片集合")
    private List<String> imgList;

}